package com.guigu.controller;

import com.guigu.pojo.Interposescheme;
import com.guigu.pojo.Member;
import com.guigu.service.InterposeschemeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class InterposeschemeController {
    @Autowired
    InterposeschemeService service;
    @GetMapping("/intershow")
    public List<Interposescheme> basicinfo(Integer memberid){
        return service.selectByPrimaryKey(memberid);
    }

    }
